package com.bbcare.exportExcel.plat.entity;	

import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.OneToMany;

/**
 * @name:问卷包	
 * @author:	
 * @createTime: 
 */	
	
public class QuestionnairePackage {	
	
	private String id;
	
	//问卷包名称	
	@Column(name="_name")
	private String name;	
	
	//上架时间	
	@Column(name="_upTime")
	private Date upTime;	
	
	//下架时间	
	@Column(name="_downTime")
	private Date downTime;	
	
	//有效期	
	@Column(name="_cycle")
	private String cycle;	
	
	//有效期单位	
	@Column(name="_cycleUnit")
	private String cycleUnit;	// 1、天  2、月  3、年
	
	//价格	
	@Column(name="_price")
	private Integer price;	
	
	//开放会员	
	@Column(name="_menberSource")
	private String menberSource;	
	
	//公开性类型	
	@Column(name="_type")
	private String type;	
	
	//规格类型
	@Column(name="_specType")
	private String specType;
	
	//排序	
	@Column(name="_sort")
	private Integer sort;	
	
	//是否删除	
	@Column(name="_isDelete")
	private Boolean isDelete;	
	
	//创建时间	
	@Column(name="_createTime")
	private Date createTime;	
	
	//提供者
	@Column(name="_provider")
	private String provider;
	
	//医生-提供者
	@Column(name="_doctorId")
	private String doctorId;
	
	//图片
	@Column(name="_icon")
	private String icon;
	
	//简介	
	@Column(name="_introduction")
	private String introduction;
	
	//说明
	@Column(name="_note")
	private String note;
	
	//包含问卷
	@OneToMany(mappedBy="questionnairePackage")
    private List<Questionnaire> questionnaires;
	
	//包含宝宝问卷包
	@OneToMany(mappedBy="questionnairePackage")
    private List<BabyQuestionnairePackage> babyQuestionnairePackages;
	
	//适用人群
	@Column(name="_apply")
	private String apply;
	
	//是否启用
	@Column(name="_isUsed")
	private Integer isUsed;
	
	//是否是生长发育
	@Column(name="_isGrowth")
	private Boolean isGrowth;
	
	//问卷包编码
	@Column(name="_questionCode")
	private String questionCode;
	
	public String getId() {	
		return id;	
	}	
	
	public void setId(String id) {	
		this.id = id;	
	}
	
	public String getName() {	
		return name;	
	}	
	
	public void setName(String name) {	
		this.name = name;	
	}
	
	public Date getUpTime() {	
		return upTime;	
	}	
	
	public void setUpTime(Date upTime) {	
		this.upTime = upTime;	
	}

	public Date getDownTime() {	
		return downTime;	
	}	
	
	public void setDownTime(Date downTime) {	
		this.downTime = downTime;	
	}
	
	public String getSpecType() {
		return specType;
	}

	public void setSpecType(String specType) {
		this.specType = specType;
	}

	public String getCycle() {	
		return cycle;	
	}	
	
	public void setCycle(String cycle) {	
		this.cycle = cycle;	
	}
	
	public String getCycleUnit() {	
		return cycleUnit;	
	}	
	
	public void setCycleUnit(String cycleUnit) {	
		this.cycleUnit = cycleUnit;	
	}
	
	public Integer getPrice() {	
		return price;	
	}	
	
	public void setPrice(Integer price) {	
		this.price = price;	
	}
	
	public String getMenberSource() {	
		return menberSource;	
	}	
	
	public void setMenberSource(String menberSource) {	
		this.menberSource = menberSource;	
	}
	
	public String getType() {	
		return type;	
	}	
	
	public void setType(String type) {	
		this.type = type;	
	}
	
	public Integer getSort() {	
		return sort;	
	}	
	
	public void setSort(Integer sort) {	
		this.sort = sort;	
	}
	
	public Boolean getIsDelete() {	
		return isDelete;	
	}	
	
	public void setIsDelete(Boolean isDelete) {	
		this.isDelete = isDelete;	
	}

	public Date getCreateTime() {	
		return createTime;	
	}	
	
	public void setCreateTime(Date createTime) {	
		this.createTime = createTime;	
	}
	
	public List<Questionnaire> getQuestionnaires() {	
		return questionnaires;	
	}
	
	public void setQuestionnaires(List<Questionnaire> questionnaires) {	
		this.questionnaires = questionnaires;	
	}
	
	public List<BabyQuestionnairePackage> getBabyQuestionnairePackages() {	
		return babyQuestionnairePackages;	
	}
	
	public void setBabyQuestionnairePackages(List<BabyQuestionnairePackage> babyQuestionnairePackages) {	
		this.babyQuestionnairePackages = babyQuestionnairePackages;	
	}
	
	public String getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}


	public String getApply() {
		return apply;
	}

	public void setApply(String apply) {
		this.apply = apply;
	}

	public String getProvider() {
		return provider;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}


	public Integer getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(Integer isUsed) {
		this.isUsed = isUsed;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public Boolean getIsGrowth() {
		return isGrowth;
	}

	public void setIsGrowth(Boolean isGrowth) {
		this.isGrowth = isGrowth;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getQuestionCode() {
		return questionCode;
	}

	public void setQuestionCode(String questionCode) {
		this.questionCode = questionCode;
	}

}